﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SpaceSquirrel.Automation
{
	class WaterPopAutomation : SpriteAutomation
	{
		private int counter;

		public WaterPopAutomation(Sprite sprite)
			: base(sprite)
		{
			this.counter = 0;
		}

		public override void DoStuff(PlayScene scene)
		{
			++this.counter;
			if (this.counter >= 15)
			{
				this.sprite.dead = true;
			}
		}
	}
}
